<%-- 
    Document   : editAnswer
    Created on : Oct 29, 2009, 2:22:42 PM
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            String AnswerContent = request.getParameter("content");
            int id = Integer.parseInt(request.getParameter("id"));
            int key = Integer.parseInt(request.getParameter("key"));
        %>
        <form action="include/actionUpdateAnswer.jsp" method="post">
        <table border="1">
            <thead>
                <tr>
                    <th></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>Conten Answer : </td>
                    <td><input type="text" value="<%=AnswerContent%>" name="ContentAnswer"></td>
                </tr>
                <tr>
                    <td>TrueOrFalse : </td>
                    <td>True : <input type="radio" name="TrueOrFalse" value="True"  />
                       False : <input type="radio" name="TrueOrFalse" value="False" checked="true" /></td>
                </tr>
            </tbody>
        </table>
                    <input type="hidden" value="<%=id%>" name="AnswerID">
                    <input type="hidden" value="<%=key%>" name="key" />
                    <input type="submit" value="Edit Answer" />
        </form>
    </body>
</html>
